package com.overoid.diary.ui.day.edit;

import com.overoid.diary.R;
import com.overoid.diary.ui.common.DBHelper;

import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.widget.EditText;

public class DayEditViewTop01Activity extends Activity{
	
	protected Context context; 
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		
		super.onCreate(savedInstanceState);	
		
		setContentView(R.layout.day_edit_view_top01);
		
		DayEditActivity act = (DayEditActivity)getParent();
		
		
		DBHelper.Memo memo = act.db.getMemo(act.memoID);
		((EditText)findViewById(R.id.dayEditText01)).setText(memo.memoContents);
		
		act.categotyID = (int)memo.memoClassId;
		
		
		
	}
}